package org.begincode.core.mapper;

import org.apache.ibatis.annotations.Param;
import org.begincode.core.model.PlanRelation;
import org.begincode.core.model.PlanRelationExample;

import java.util.List;

public interface PlanRelationMapper {
    int countByExample(PlanRelationExample example);

    int deleteByExample(PlanRelationExample example);

    int deleteByPrimaryKey(Integer planRelationId);

    int insert(PlanRelation record);

    int insertSelective(PlanRelation record);

    List<PlanRelation> selectByExample(PlanRelationExample example);

    PlanRelation selectByPrimaryKey(Integer planRelationId);

    int updateByExampleSelective(@Param("record") PlanRelation record, @Param("example") PlanRelationExample example);

    int updateByExample(@Param("record") PlanRelation record, @Param("example") PlanRelationExample example);

    int updateByPrimaryKeySelective(PlanRelation record);

    int updateByPrimaryKey(PlanRelation record);
}